home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2001 February / maximum-cd-2001-02.iso / Team Arena / TeamArenaDemo.exe / Main / pak0.pk3 / ui / error.menu < prev    next >
Encoding:
Text File  |  2000-11-22  |  4.5 KB  |  319 lines

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ END OF GAME \\
  5.  
  6. menuDef {
  7.     name "error_popmenu"
  8.        visible 0
  9.        fullscreen 0
  10.        rect 158 80 320 320
  11.     focusColor 1 .75 0 1
  12.        style 1
  13.        border 1
  14.     popup
  15.     onClose { uiScript clearError }
  16.     onOpen { }
  17.     onESC { close error_popmenu ; open main }
  18.  
  19.  
  20.  
  21. itemDef {
  22.     name window
  23.     rect 10 15 300 320
  24.     style 1
  25.     backcolor .8 .66 .15 1
  26.     forecolor 0 0 0 1
  27.     visible 1
  28.     decoration
  29.     }
  30.  
  31. itemDef {
  32.     name window
  33.     rect 10 15 300 320
  34.     style 3
  35.     background "warning"
  36.     forecolor 0 0 0 1
  37.     visible 1
  38.     decoration
  39.     }
  40. itemDef {
  41.     name window
  42.     rect 10 15 300 10
  43.     style 1
  44.     backcolor 0 0 0 .25
  45.     forecolor 0 0 0 1
  46.     visible 1
  47.     decoration
  48.     }
  49.  
  50.  
  51. itemDef {
  52.     name window
  53.     rect 30 35 250 270
  54.     style 1
  55.     backcolor .5 .41 .09 1
  56.     forecolor 0 0 0 1
  57.     border 1
  58.     bordercolor 0 0 0 1
  59.     bordersize 5
  60.     visible 1
  61.     decoration
  62.     }
  63.  
  64. // FRAME    //
  65.  
  66.  
  67. itemDef {
  68.     name window
  69.     rect 0 10 64 64
  70.     style 3
  71.     background "ui/assets/ingameleftcorner.tga"
  72.     visible 1
  73.     decoration
  74.     }
  75. itemDef {
  76.     name window
  77.     rect 64 10 64 8
  78.     style 3
  79.     background "ui/assets/ingametop.tga"
  80.     visible 1
  81.     decoration
  82.     }
  83. itemDef {
  84.     name window
  85.     rect 184 10 96 8
  86.     style 3
  87.     background "ui/assets/ingametop.tga"
  88.     visible 1
  89.     decoration
  90.     }
  91. itemDef {
  92.     name window
  93.     rect 256 10 64 64
  94.     style 3
  95.     background "ui/assets/ingamerightcorner.tga"
  96.     visible 1
  97.     decoration
  98.     }
  99. itemDef {
  100.     name window
  101.     rect 128 10 64 8
  102.     style 3
  103.     background "ui/assets/ingametop.tga"
  104.     visible 1
  105.     decoration
  106.     }
  107. itemDef {
  108.     name window
  109.     rect 0 274 64 64
  110.     style 3
  111.     background "ui/assets/ingameleftcornerb.tga"
  112.     visible 1
  113.     decoration
  114.     }
  115. itemDef {
  116.     name window
  117.     rect 256 274 64 64
  118.     style 3
  119.     background "ui/assets/ingamerightcornerb.tga"
  120.     visible 1
  121.     decoration
  122.     }
  123.  
  124. itemDef {
  125.     name window
  126.     rect 0 64 16 64
  127.     style 3
  128.     background "ui/assets/ingameleft.tga"
  129.     visible 1
  130.     decoration
  131.     }
  132.  
  133.  
  134. itemDef {
  135.     name window
  136.     rect 0 128 16 64
  137.     style 3
  138.     background "ui/assets/ingameleft.tga"
  139.     visible 1
  140.     decoration
  141.     }
  142.  
  143. itemDef {
  144.     name window
  145.     rect 0 192 16 96
  146.     style 3
  147.     background "ui/assets/ingameleft.tga"
  148.     visible 1
  149.     decoration
  150.     }
  151.  
  152. itemDef {
  153.     name window
  154.     rect 304 64 16 64
  155.     style 3
  156.     background "ui/assets/ingameright.tga"
  157.     visible 1
  158.     decoration
  159.     }
  160.  
  161.  
  162. itemDef {
  163.     name window
  164.     rect 304 128 16 64
  165.     style 3
  166.     background "ui/assets/ingameright.tga"
  167.     visible 1
  168.     decoration
  169.     }
  170.  
  171. itemDef {
  172.     name window
  173.     rect 304 192 16 96
  174.     style 3
  175.     background "ui/assets/ingameright.tga"
  176.     visible 1
  177.     decoration
  178.     }
  179.  
  180.  
  181.  
  182. itemDef {
  183.     name window
  184.     rect 64 330 64 8
  185.     style 3
  186.     background "ui/assets/ingamebottom.tga"
  187.     visible 1
  188.     decoration
  189.     }
  190. itemDef {
  191.     name window
  192.     rect 128 330 98 8
  193.     style 3
  194.     background "ui/assets/ingamebottom.tga"
  195.     visible 1
  196.     decoration
  197.     }
  198. itemDef {
  199.     name window
  200.     rect 172 330 98 8
  201.     style 3
  202.     background "ui/assets/ingamebottom.tga"
  203.     visible 1
  204.     decoration
  205.     }
  206.  
  207.  
  208.    
  209.  
  210.     itemDef {
  211.         name errorinfo
  212.         rect 0 50 320 20    
  213.         text "Error:"
  214.         textalign 1
  215.         textstyle 6
  216.         textscale .333
  217.         textalignx 160
  218.         textaligny 23
  219.         forecolor 1 1 1 1
  220.         visible 1
  221.         decoration
  222.     }
  223.     
  224.     itemDef {
  225.         name errorinfo
  226.         rect 60 80 200 270
  227.         type ITEM_TYPE_TEXT
  228.         style 1
  229.         textstyle 3
  230.         autowrapped
  231.         cvar "com_errorMessage"
  232.         textalign ITEM_ALIGN_CENTER
  233.         textalignx 100
  234.         textaligny 23
  235.         textscale .25
  236.         forecolor 1 1 1 1
  237.         visible 1
  238.         decoration
  239.     }
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249. //    BUTTON    //
  250.  
  251.  
  252. itemDef {
  253.     name exit
  254.     text "Exit"
  255.     type 1
  256.     textscale .25
  257.     group grpControlbutton
  258.     type ITEM_TYPE_BUTTON
  259.     style WINDOW_STYLE_FILLED
  260.     background "ui/assets/button_back.tga"
  261.     rect 138 295 45 26
  262.     textalign 1
  263.     textalignx 22
  264.     textaligny 20
  265.     forecolor 1 1 1 1
  266.     backcolor .37 .1 .1 1
  267.     visible 1
  268.     action { play "sound/misc/nomenu.wav" ; 
  269.     close error_popmenu ; 
  270.     open main }
  271.     mouseEnter { setitemcolor exit backcolor .1 .37 .1 1 } 
  272.     mouseExit { setitemcolor exit backcolor .37 .1 .1 1 } 
  273.     }
  274. itemDef {
  275.           name exit
  276.     group grpControlbutton
  277.     style WINDOW_STYLE_SHADER
  278.     background "ui/assets/framebutton.tga"
  279.      rect 138 295 45 26
  280.           visible 1 
  281.     forecolor 1 1 1 1
  282.     decoration        
  283.         }
  284.  
  285. itemDef {
  286.           name exit
  287.     group grpControlbutton
  288.     style WINDOW_STYLE_SHADER
  289.     background "ui/assets/leftbutton.tga"
  290.           rect 126 295 13 26
  291.           visible 1
  292.     forecolor 1 1 1 1
  293.     decoration        
  294.         }
  295.  
  296. itemDef {
  297.           name exit
  298.     group grpControlbutton
  299.     style WINDOW_STYLE_SHADER
  300.     background "ui/assets/rightbutton.tga"
  301.           rect 182 295 13 26
  302.           visible 1 
  303.     forecolor 1 1 1 1
  304.     decoration        
  305.         }
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.     
  313. }
  314.  
  315.  
  316. }
  317.  
  318.  
  319.